package com.company;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by asus on 2017/8/17.
 */
public class Outer {
    class Inner{
        private String name;
        private String value;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

//    public Inner inner(){
//        return new Inner();
//    }

    public Inner getName(String name, String value){
        Inner i = new Inner();
        i.setName(name);
        i.setValue(value);
        return i;
    }
}
